View Issue Details

IDProjectCategoryView StatusLast Update
0001667T99X171.00 SKB EagleSW Issuepublic2023-03-22 10:32
Reporter(ALTech) Younkwang Jung Assigned To(SW) Jerry Lin Due Date2023-03-10 10:37
PrioritynormalSeveritys4-minorReproducibilityhave not tried
Status closedResolutionfixed 
Summary0001667: [Smart3][ATV12][QA issue] STB box enters passive standby mode ( sleep <-> wakeup , volume control )
DescriptionHi Kerwin

STB is entering passive standby mode during aging test as below.
1) STB wakeup
2) volume up / down / up / down
3) STB sleep

Repeat 1) to 3) and STB suddenly enters passive standby mode.

I also attach the kernel log and test script
========================================================================================
[Tue Feb 28 09:33:02 2023] cectx ff80023c.aocec: type 4, save phy_addr:0x1000
[Tue Feb 28 09:33:03 2023] type=1400 audit(1677544384.512:1813): avc: denied { read } for comm="PowerManagerSer" name="u:object_r:vendor_default_prop:s0" dev="tmpfs" ino=13057 scontext=u:r:system_server:s0 tcontext=u:object_r:vendor_default_prop:s0 tclass=file permissive=0
[Tue Feb 28 09:33:03 2023] vc:[0]has alredy get 2, can not get more
[Tue Feb 28 09:33:03 2023] binder: 3709:3761 ioctl 40046210 b7dbf440 returned -22
..
[Tue Feb 28 09:33:04 2023] early_suspend_state=1
[Tue Feb 28 09:33:04 2023] early_suspend: call handlers
[Tue Feb 28 09:33:04 2023] early_suspend: video_early_suspend
..
[Tue Feb 28 09:33:06 2023] PM: suspend entry 2023-02-28 00:33:08.052154790 UTC
[Tue Feb 28 09:33:06 2023] PM: Syncing filesystems ...
==================================================================================

Please check it

Thank you
YK.Jung
TagsNo tags attached.
Attach Tags

Users monitoring this issue

Activities

(ALTech) Younkwang Jung

2023-02-28 09:40

developer  

kernel_log.zip (154,138 bytes)
switching_sleep_on_off_10_volume.sh (383 bytes)   
#!/system/bin/sh
echo 7 > /proc/sys/kernel/printk;
echo 0x02 > /sys/class/remote/amremote/protocol;
input keyevent 385
sleep 2
while true;
	do input keyevent POWER;
	sleep 5;
	sleep 5;
	input keyevent POWER;
	sleep 10;
	input keyevent KEYCODE_VOLUME_UP;
	input keyevent KEYCODE_VOLUME_DOWN;
	input keyevent KEYCODE_VOLUME_UP;
	input keyevent KEYCODE_VOLUME_DOWN;
	sleep 1;
	
done &

(SW) Jerry Lin

2023-03-02 10:05

developer   ~0012397

Hi YK,
I can not reproduce this issue in my side.
Do you enable passive standby mode ?
Please help to get logcat file.

Jerry

(ALTech) JunGyu Kim

2023-03-02 13:15

developer   ~0012405

Hi Jerry,

I think this reproduce step is the same issue.

1. TV / STB CEC enable / Set active standby mode in STB
2. TV off while STB on / TV on
3. The TV is turned off, and after some time has passed, the STB enters passive standby mode and LED is blue. The amount of power is also about 0.4w.

Could you please test again as this method?

Thank you.
Kim

(ALTech) JunGyu Kim

2023-03-03 13:25

developer   ~0012421

Hi Jerry,

SPTEK found root cause, this commit is the cause.

commit 0ac1c8d13098b4197366b831f4287a05f7e45fec
Author: Bcan <bcan.cc.yeh@fii-foxconn.com>
Date: Wed Dec 14 17:16:44 2022 +0800

    Refine WakeLock in PassiveStandby mode

Please check this commit.

Thank you.
Kim

(SW) Jerry Lin

2023-03-03 17:07

developer   ~0012427

Hi Kim,
OK, i will verify again.

Jerry

(ALTech) JunGyu Kim

2023-03-08 10:31

developer   ~0012461

Hi Jerry,

Please let me know any update of this issue.

Thank you.
Kim

(SW) Jerry Lin

2023-03-08 13:52

developer   ~0012464

Hi Kim ,
We will fix this commit and add a check for passive standby mode.

Jerry

(ALTech) JunGyu Kim

2023-03-10 13:25

developer   ~0012502

Hi Jerry,

Is this the fixing commit?
Thu Mar 9 09:55:00 2023 +0800 | liang-chyi.lin@fii.. | 74f4795a3dcb | add a check for passive/active standby mode

If YES, our QA tested this issue in two cases with applying this commit.

1. State where OTA pop-up is displayed when entering standby mode
2. State where OTA pop-up is not displayed when entering standby mode -> Change EDMP server to wrong server address

In case 2, confirmed that it works normally.
In case 1, RCU (IR / BT) input is not possible after entering standby mode.

Please refer attached video and log.

Thank you.
Kim
OTA_CEC.mp4 (16,239,900 bytes)   
OTA_CEC_logcat.log (7,541,734 bytes)

(SW) Jerry Lin

2023-03-10 14:24

developer   ~0012504

Last edited: 2023-03-10 15:31

Hi Kim ,
1. Is this problem reporduced every time ?
2. I check with log and find that the TV sends 2 CEC <Standby> messages to SMART3.
    Please help to check with other TV.
3. I check with ATV10 15.532.20. I found an inconsistent behavior.
    TV off --> TV on ===> ATV10 will show upgrade UI. but ATV12 doesn't.

Log:
03-10 11:23:16.615 3814 3814 D HDMI : [R]:<Standby> 0F:36
.
.
03-10 11:23:16.684 3814 3814 D HDMI : [R]:<Standby> 0F:36

Jerry

(ALTech) JunGyu Kim

2023-03-13 12:13

developer   ~0012513

Hi Jerry,

1. Is this problem reporduced every time ?
    [ALT] Our QA tested many times but this issue reproduced always.

2. I check with log and find that the TV sends 2 CEC <Standby> messages to SMART3.
    Please help to check with other TV.
    [ALT] Our QA tested another TV (SAMSUNG / LG). This issue was reproduced another TV.

3. I check with ATV10 15.532.20. I found an inconsistent behavior.
    TV off --> TV on ===> ATV10 will show upgrade UI. but ATV12 doesn't.
    [ALT] It's weird. I tested on my board, I can see upgrade popup message both ATV10 and ATV12.
               Are your board is smart3? Please test in another board.

Thank you.
Kim

(SW) Jerry Lin

2023-03-15 15:37

developer   ~0012540

Hi Kim
I upload a SD test FW to ALT Sever.
The file is in /release_by_fxn/temp_wfh/jerry/eagle/mantis_1667.
Please download and verify.

The test FW will fix
1. https://172.18.223.170/vaas/view.php?id=1667#c12405
2. https://172.18.223.170/vaas/view.php?id=1667#c12502

Jerry

(ALTech) JunGyu Kim

2023-03-15 20:00

developer   ~0012544

Hi Jerry,

I tested your test FW.
The issue (RCU (IR / BT) input is not possible) is not reproduce in your FW.
But refer to SKB's specification, when TV off , STB MUST be go to standby mode if CEC is enabled.
As a result of testing your FW, STB does not go to standby mode when TV OFF.

Could you please check it again?
Thank you.
Kim

(SW) Jerry Lin

2023-03-15 20:14

developer   ~0012545

Last edited: 2023-03-15 20:28

Hi Kim,
My test is normal.
Please confirm whether there is an upgrade UI blocking it.
If yes , you need to press "back" key from RCU to ignore upgrade UI.

Jerry

(ALTech) JunGyu Kim

2023-03-16 09:25

developer   ~0012547

Hi Jerry,

Thank you for explain.
I have verified that if press back key, STB go to standby mode.
As you said that, upgrade UI seems blocking it.
Please commit this modification.

Thank you.
Kim

(SW) Jerry Lin

2023-03-17 09:11

developer   ~0012561

Hi Kim ,
This fix is for ATV10.
And it will cause CTS failed.
Because the CTS is different in ATV12 and ATV10.
We are still confirming how the fix is correct.

Jerry

(ALTech) JunGyu Kim

2023-03-22 09:51

developer   ~0012605

Hi Jerry,

I tested this issue (STB does not go to standby mode when TV OFF) in FW 15.537.28 but it seems fixed.
I checked the diff file, but there is no commit for this issue, so I'm asking is this issue fixed.

Thank you.
Kim

(SW) Jerry Lin

2023-03-22 10:13

developer   ~0012606

Hi Kim,
Please check with this commit.

commit b10257b742315d169113f6236f4429e373b576d3
Author: jerry <liang-chyi.lin@fii-foxconn.com>
Date: Fri Mar 17 17:08:28 2023 +0800

    Add a package check for cts test

Thank you.
Jerry

(ALTech) JunGyu Kim

2023-03-22 10:32

developer   ~0012607

Hi Jerry,

Thank you for confirm.
I and our QA tested it and seems work well.
I close this issue.

Thank you.
Kim

Issue History

Date Modified Username Field Change
2023-02-28 09:40 (ALTech) Younkwang Jung New Issue
2023-02-28 09:40 (ALTech) Younkwang Jung Status new => assigned
2023-02-28 09:40 (ALTech) Younkwang Jung Assigned To => (SW) Kerwin Chen
2023-02-28 09:40 (ALTech) Younkwang Jung File Added: kernel_log.zip
2023-02-28 09:40 (ALTech) Younkwang Jung File Added: switching_sleep_on_off_10_volume.sh
2023-02-28 11:37 (ALTech) Younkwang Jung Issue Monitored: (ALTech) SY Yoon
2023-02-28 11:37 (ALTech) Younkwang Jung Issue Monitored: (ALTech) JunGyu Kim
2023-03-01 09:03 (SW) Kerwin Chen Assigned To (SW) Kerwin Chen => (SW) Jerry Lin
2023-03-02 08:45 (ALTech) SY Yoon Issue Monitored: (SW) Kerwin Chen
2023-03-02 10:05 (SW) Jerry Lin Note Added: 0012397
2023-03-02 13:15 (ALTech) JunGyu Kim Note Added: 0012405
2023-03-03 13:25 (ALTech) JunGyu Kim Note Added: 0012421
2023-03-03 17:07 (SW) Jerry Lin Note Added: 0012427
2023-03-08 10:31 (ALTech) JunGyu Kim Note Added: 0012461
2023-03-08 13:52 (SW) Jerry Lin Note Added: 0012464
2023-03-10 13:25 (ALTech) JunGyu Kim Note Added: 0012502
2023-03-10 13:25 (ALTech) JunGyu Kim File Added: OTA_CEC.mp4
2023-03-10 13:25 (ALTech) JunGyu Kim File Added: OTA_CEC_logcat.log
2023-03-10 14:24 (SW) Jerry Lin Note Added: 0012504
2023-03-10 15:31 (SW) Jerry Lin Note Edited: 0012504
2023-03-13 12:13 (ALTech) JunGyu Kim Note Added: 0012513
2023-03-15 15:37 (SW) Jerry Lin Note Added: 0012540
2023-03-15 20:00 (ALTech) JunGyu Kim Note Added: 0012544
2023-03-15 20:14 (SW) Jerry Lin Note Added: 0012545
2023-03-15 20:28 (SW) Jerry Lin Note Edited: 0012545
2023-03-16 09:25 (ALTech) JunGyu Kim Note Added: 0012547
2023-03-17 09:11 (SW) Jerry Lin Note Added: 0012561
2023-03-22 09:51 (ALTech) JunGyu Kim Note Added: 0012605
2023-03-22 10:13 (SW) Jerry Lin Note Added: 0012606
2023-03-22 10:32 (ALTech) JunGyu Kim Status assigned => closed
2023-03-22 10:32 (ALTech) JunGyu Kim Resolution open => fixed
2023-03-22 10:32 (ALTech) JunGyu Kim Note Added: 0012607